package com.zhou.common.mybatis.template;


import org.junit.jupiter.api.Test;

/**
 * @author 18576666986
 * @description
 * @createDate 2023/2/18 11:54
 */
public class App {

    @Test
    public void test() {
        String projectPath = System.getProperty("user.dir");
        System.out.println(projectPath);
        Package pack = this.getClass().getPackage();
        String packageName = pack.getName();
        System.out.println(packageName);
    }

    public static void main(String[] args) {
        String projectPath = System.getProperty("user.dir");
        System.out.println(projectPath);

        Package pack = App.class.getPackage();
        String packageName = pack.getName();
        System.out.println(packageName);

    }
}
